package com.huadi.ssm.mapper;

import com.huadi.ssm.po.Achievement;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface AchievementMapper {
    public Achievement findByItem(String item);
    public int add(Achievement achievement);
    public int edit(Achievement achievement);
    public int delete(String ids);
    public List<Achievement> findList(Map<String,Object> queryMap);
    public List<Achievement> findAll();
    public int getTotal(Map<String,Object> queryMap);
    public List<Achievement> findByProjectid(String projectid);
    public List<Achievement> findByResearchid(String researchid);
    public int findForStats(Map<String,Object> queryMap);

}
